#ifndef APPCONFIG_H
#define APPCONFIG_H

#include <QDate>

class AppConfig {
public:
    AppConfig();
    virtual ~AppConfig();

    virtual int getWinWidth() const;
    virtual void setWinWidth(int value);

    virtual int getWinHeigth() const;
    virtual void setWinHeigth(int value);

    virtual QDate getLastUsedSchedule() const;
    virtual void setLastUsedSchedule(const QDate& date);

protected:
    int winWidth;
    int winHeight;
    QDate lastUsedSchedule;
};

/* ************************************************************************************ */

class DefaultConfig : public AppConfig {
public:
    static const AppConfig& get();

private:
    DefaultConfig();
    DefaultConfig(const DefaultConfig&);
};

#endif // APPCONFIG_H
